<template>
  <div class="my-container animate__animated animate__fadeIn">
    <div class="header">
      <nav-header />
      <div class="mask"></div>
    </div>
    <div class="content entry-bottom">
      <div class="contentBox">
        <person-card />
        <introduce-card />
        <like-card />
      </div>
    </div>
    <my-footer />
  </div>
</template>

<script setup>
import navHeader from "@/components/public/navHeader.vue";
import personCard from "./components/personCard.vue";
import introduceCard from "./components/introduceCard.vue";
import likeCard from "./components/likeCard.vue";
import myFooter from "@/components/public/myFooter.vue";
import { myScroll } from "@/utils/scrollReveal";
import { onMounted } from "vue";
onMounted(() => {
  myScroll(".entry-bottom", "bottom");
});
</script>

<style scoped lang="less">
.my-container {
  .header {
    width: 100vw;
    height: 100px;
    background: url(../../assets/image/bg2.jpg) no-repeat center center;

    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.4);
    .mask {
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.5);
    }
  }
  .content {
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    .contentBox {
      width: 70%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
    }
  }
}
</style>
